package com.atomos.strategy.emission
{
	import flash.geom.Point;	

	public class MockAtStartEmission extends AbstractEmission
	{
		protected var count : Number;
		
		public function MockAtStartEmission ( type : Class, point : Point = null )
		{
			super( type, point );
			
			count = 10;
		}
		
		public override function isFinish():Boolean
		{
			return count == 0;
		}
		
		public override function prepareEmission( time : Number ) : void	
		{}
		
		public override function hasNext() : Boolean
		{
			return count > 0;
		}
		
		public override function next() : *
		{
			count--;
			return super.next();
		}
	}
}